<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'reject-comfirmation',
	'enableAjaxValidation'=>false,
)); ?>
<script>
	
	if ($.fn.yiiGridView.getChecked("DataGrid","chkPopupId").length == 0){
		$('#update-dialog-message').html('<?php echo t('MSG_REMIND_SELECT_ROW', 'messages', array('{0}' => 'reject'));  ?>');
		$('#update-dialog-buttons').html('<button type="button" id="btnOk" name="btnOk" class="button ok" onclick="$(&#039;#update-dialog&#039;).dialog(&#039;close&#039;)">OK</button>');
	}
		
</script>

<div id="update-dialog-message" style="margin:15px 0 20px; text-align: center">
<?php
	echo t('MSG_CONFIRM_REJECT', 'messages');
  //echo "fdsf";
?>
</div>
<div id="update-dialog-buttons" style="text-align: center;">
<?php
//	echo Html::buttonOkConfirmReject();
//	echo Html::buttonCancelConfirmReject();
        echo Html::buttonConfirm(t('BTN_YES'),'rejectConfirmed');
        echo Html::buttonConfirm(t('BTN_NO'),'rejectCanceled', 'cancel');
?>
</div>
<?php $this->endWidget(); ?>